<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<jsp:directive.page import="com.anhry.app.safety.util.Util"/>
<%@ include file="/WEB-INF/pages/share/taglib.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>设置提醒-查看</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">	
	<link href="<%=basePath+Util.SKIN%>/css/right.css" type="text/css" rel="stylesheet">
	<script type="text/javascript" src="<%=basePath%>/js/jquery-1.7.2.js"></script>
    <script type="text/javascript" src="<%=basePath%>/js/check_jquery.js"></script>
    <script src="<%=path%>/js/oa.js" type="text/javascript"></script>
	<style>
		.rname{width:800;height:70px;border:1px #aaa solid;overflow:scroll;background:#fefefe;}
		.menuitem {float:left;POSITION: absolute; VISIBILITY: hidden;width:860;}
		.menuitem1 {float:left;POSITION: static; VISIBILITY: visible;width:860;}
	</style>	
	<script type="text/javascript">
		$(function() {
			
			$("#back").click(function () {
				window.location.href='<%=basePath%>/oa/call_callList.action?num=${num}&size=${size}&keyWord=${keyWord}&beginTime=${beginTime }&endTime=${endTime }&keyUser=${keyUser }&userUnit=${userUnit }&userDept=${userDept }';
			});
		});
		
	</script>
  </head>
  
  <body>
        <div class="body-box">
        <div class="map">
			<div class="map_con">
				您当前的位置：系统提醒 &gt; 个人提醒管理 &gt; 提醒汇总 &gt; 提醒查看 
			</div>
		</div>
		<div id="container">
	    	<table border="0" cellspacing="0" cellpadding="0"  width="100%" class="info_table">
				<tr>
					<td colspan="2" class="title_li">提醒查看</td>
				</tr>	
				<tr>
					<td class="title_td" width="100">提醒时间：</td>
					<td ><s:date name="perCall.callTime" format="yyyy年MM月dd日 HH:mm"/></td>
				</tr>				
				<tr>
					<td class="title_td">提醒机制：</td>
					<td >
						<s:if test="%{perCall.callType==0}">消息</s:if>
						<s:elseif test="%{perCall.callType==1}">手机短信</s:elseif>
						<s:elseif test="%{perCall.callType==2}">消息+手机短信</s:elseif>
					</td>
				</tr>	
				<s:if test="%{perCall.callType==1 || perCall.callType==2}">
				<tr>
					<td class="title_td">短信提醒机制：</td>
					<td >短信提醒启动时间（信息多久未读）：<font color="green">${perCall.noteDay }</font>天<font color="green">${perCall.noteHour }</font>小时<font color="green">${perCall.noteSec }</font>分钟；提醒次数：<font color="green">${perCall.callNums }</font>，提醒间隔时间：<font color="green">${perCall.callAtTime }</font>分钟，企业接收人：${perCall.isCorper==0?'负责人':'安全负责人' }</td>
				</tr>
				</s:if>	
				<tr>
					<td class="title_td">提醒人：</td>
					<td >${perCall.tbUser.userRealName }</td>
				</tr>
				<tr>
					<td class="title_td">提醒人单位：</td>
					<td >${perCall.tbUser.tbUserUnit.deptName }</td>
				</tr>
				<tr>
					<td class="title_td">提醒部门：</td>
					<td >${perCall.tbUser.tbUserDept.deptName }</td>
				</tr>
				
				
									
				<tr>
					<td class="title_td">被提醒人：</td>
					<td >
						<s:if test="%{userNamesList.size>0}">
							管理员为：
							<s:iterator id="user" value="userNamesList">
							${user.userRealName };
							</s:iterator>
							<br/>
						</s:if>
						<s:if test="%{corpNamesList.size>0}">
							企业为：
							<s:iterator id="corp" value="corpNamesList">
							${corp.corpName };
							</s:iterator>
						</s:if>
					</td>
				</tr>												
				<tr>	
					<td class="title_td">内容：</td>
					<td >
						${perCall.callContent }
					</td>
				</tr>											
			</table>
			<table border="0" cellspacing="0" cellpadding="0"  width="99%" style="float:left; padding-top:5px;padding-bottom:5px;background-color: #d0e2ff;">
				<tr>
					<td align="left">
						<input type="button" class="link_input" value="返 回" id="back" />
					</td>
				</tr>
			</table>
	 
	 <!-- 
	 </div>
	    <div class="right_bottom">
			<div style="width:11px;float:left"><img src="<%=basePath%>/images/right_bottom.gif"/></div>
			<div style="width:16px;float:right"><img src="<%=basePath%>/images/right_rbottom.gif"/></div>
		</div>
	  </div>
	   -->
  </body>
</html>
